<!--
 * @Description: 门店统计报表
-->
<template>
  <div class="store-report">
    <div class="store-report__header">
      <el-radio-group v-model="reportType" @change="changeHandle">
        <el-radio-button label="1">门店统计报表</el-radio-button>
        <el-radio-button label="2">门店审核报表</el-radio-button>
      </el-radio-group>
    </div>

    <StatisticalReport v-if="reportType === '1'" />
    <AuditReport v-else />
  </div>
</template>

<script>
import StatisticalReport from './components/StatisticalReport.vue';
import AuditReport from './components/AuditReport.vue'; 

export default {
  components: {
    StatisticalReport,
    AuditReport
  },
  data() {
    return {
      reportType: '1',
    };
  },
  created() {},
  methods: {
    changeHandle(value) {
      this.reportType = value;
    },
  },
};
</script>

<style lang="scss" scoped>
.store-report {
}
</style>
